package cw.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cw.entity.Team;
import cw.entity.User;

public interface TeamMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Team record);

    int insertSelective(Team record);

    Team selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Team record);

    int updateByPrimaryKey(Team record);
    
    List<Team> queryTeam(@Param("teamName") String teamName,@Param("description") String description,@Param("offset") Integer offset, @Param("pageSize") Integer pageSize);

    Integer getTotal(@Param("teamName") String teamName,@Param("description") String description);
    
    List<Team> query();
    
}